.component-control-container {
  height: 100%;
  width: 330px;
  display: grid;
  grid-template-rows: 40px auto;
  overflow: hidden;

  .top {
    width: 100%;
    height: 40px;
    display: flex;
    align-content: center;
    justify-content: space-between;
    white-space: nowrap;
    background-color: #f6f8f9;

    .left-box {
      height: 100%;
      display: flex;
      align-items: center;
      padding-left: 10px;
      font-size: 14px;
      font-weight: bold;

      .svg-icon {
        margin-left: 5px;
      }
    }

    .right-box {
      display: flex;
      align-items: center;

      .el-input {
        width: 160px;
      }

      .el-button-group {
        margin: 0 10px;
      }
    }
  }

  .content {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 75px 75px auto;
    border-top: 1px solid #fff;
    overflow: hidden;

    .components-list {
      width: 100%;
      height: 100%;

      .el-card {
        cursor: pointer;

        &.active {
          background-color: var(--el-color-primary);
        }

        .title {
          white-space: nowrap;
        }
      }
    }

    .layer-list {
      width: 100%;
      height: 100%;
      background-color: #fff;
      padding: 5px 10px;
      font-weight: 700;

      li {
        list-style: none;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        border-radius: 4px;
        cursor: pointer;
        white-space: nowrap;

        &.active {
          background-color: var(--el-color-primary);
        }
      }
    }

    .chart-list {
      width: 100%;
      height: 100%;
      background-color: #fff;
      padding: 10px;
      overflow-y: auto;

      &::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 0px; /*高宽分别对应横竖滚动条的尺寸*/
        height: 0px;
      }

      li {
        width: 100%;
        height: 150px;
        display: block;
        list-style: none;
        margin-bottom: 10px;

        .layer-content {
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;

          .svg-icon {
            transition: all 0.4s;
            max-height: 100px;
          }

          &:hover {
            .svg-icon {
              width: 100% !important;
              height: 100% !important;
            }
          }
        }
      }
    }
  }
}
